// components/card/card.js
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    title: {
      type: String,
      value: "我的设置"
    },
    content: {
      type: Array,
      value: [
        {
          desc: "身份码",
          img: "/assets/profile/temp-1.png",
          path: "/pages/idCode/idCode"
        },
        {
          desc: "个人信息修改",
          img: "/assets/profile/temp-1.png",
          path: "/pages/personal-detail/personal-detail"
        },
        {
          desc: "借阅历史",
          img: "/assets/profile/temp-1.png",
          path: '/pages/bookSearchShow/bookSearchShow?searchParam={"source":"profile"}'
        },

      ]
    }
  },

  /**
   * 组件的初始数据
   */
  data: {

  },

  /**
   * 组件的方法列表
   */
  methods: {
    handleTap() {
      console.log('tap');
    }
  }
})